]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Remove some "let global ..."s that snuck back in as part of old patches
authorDan Winship <danw@gnome.org>
Wed, 9 Sep 2009 13:41:26 +0000 (09:41 -0400)
committerDan Winship <danw@gnome.org>
Wed, 9 Sep 2009 13:42:00 +0000 (09:42 -0400)
js/ui/overview.js
js/ui/workspaces.js

index 962e239251df69507a209821ae134205a7daa1c1..0d66800eed9f17a095d6b87d34ed7c5586ec5e2e 100644 (file)
@@ -438,8 +438,6 @@ Overview.prototype = {
     },
 
     _addNewWorkspace: function() {
-        let global = Shell.Global.get();
-
         global.screen.append_new_workspace(false, global.screen.get_display().get_current_time());
     },
 
@@ -462,7 +460,6 @@ AddWorkspaceButton.prototype = {
                                            height: buttonSize,
                                            reactive: true });
         this._acceptDropCallback = acceptDropCallback;
-        let global = Shell.Global.get();
         this.actor._delegate = this;
         this.actor.set_from_file(global.imagedir + 'add-workspace.svg');
     },
index 5a3673bf02fa3659395c609db0dc94de9c74cc79..07a7fc73081499763949c38ff4a5cb82ef3c6948 100644 (file)
@@ -206,8 +206,6 @@ WindowClone.prototype = {
     },
 
     _zoomUpdate : function () {
-        let global = Shell.Global.get();
-
         [this.actor.x, this.actor.y] = this._zoomGlobalOrig.interpPosition(this._zoomTarget, this._zoomStep / 100);
         [this.actor.scale_x, this.actor.scale_y] = this._zoomGlobalOrig.interpScale(this._zoomTarget, this._zoomStep / 100);
 
@@ -218,7 +216,6 @@ WindowClone.prototype = {
     },
 
     _zoomStart : function () {
-        let global = Shell.Global.get();
         this._zoomOverlay = new Clutter.Rectangle({ reactive: true,
                                                     color: LIGHTBOX_COLOR,
                                                     border_width: 0,